class Index{
    async index(ctx,next){
        const sess = ctx.session;
        if(!sess.uid){
            sess.uid = 1;
            sess.userName = 'zza';
            sess.nikName = 'js++';
            sess.gender = 'male'
        }
        ctx.body = {
            session:sess
        }
    }
}
module.exports = new Index();